# encoding=utf-8
from LBT.BaseParent.BaseLbt import lbtlogin
from LBT.Resource.EnrollmentAtt import EnrollmentAtt


class Enrollment(lbtlogin, EnrollmentAtt):
    """招生助手模块的所有用例
    招生助手模块
    """

    @lbtlogin.loginFun
    def test_enrollment(self):
        """
        招生助手，检查页面
        :return:123456
        """
        self.docstr = "招生助手，检查页面"
        self.moduleOp.openMoudleAndIn(self.enrollment_navigation_class, self.enrollment_enrollment_url)
        text = self.driver.find_element_by_xpath(self.enrollment_first_text_xpath).text
        self.assertTrue(text == self.enrollment_first_text)
